package com.qf.service.impl;

import com.qf.dao.ColorClassDao;
import com.qf.entity.Colorclass;
import com.qf.service.ColorClassService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author chen
 * @version 1.0
 * @date 2019/10/24 19:32
 */
@Service
public class ColorClassServiceImpl implements ColorClassService {
    @Resource
    private ColorClassDao colorClassDao;
    @Override
    public List<Colorclass> getColorClassByProductId(Integer productid) {
        List<Colorclass> colorclassList = colorClassDao.getColorClassByProductId(productid);
        return colorclassList;
    }
}
